package cn.ztydata.teachingsystem.heaven.web.dto;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 课程负责人授权dto
 * Created by chenxin on 2014/12/24.
 */
public class AuthCourseDto {
    @NotNull
    @Min(value = 1, message = "负责人ID不对")
    private Long id; //负责人ID
    @NotNull
    @Min(value = 1, message = "课程ID不对")
    private Long lessonId; //课程ID

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLessonId() {
        return lessonId;
    }

    public void setLessonId(Long lessonId) {
        this.lessonId = lessonId;
    }
}
